//
//  CommonData.m
//  DBAChain
//
//  Created by Evan on 2018/9/25.
//  Copyright © 2018 Evan. All rights reserved.
//

#import "CommonData.h"

@implementation CommonData

///获取订单状态，交易中订单状态
+(NSString*)getOrderStatus:(NSInteger)nsIndex{
    NSString *strStatus = @"";
    switch (nsIndex) {
        case 0:
            strStatus = @"等待交易";
            break;
        case 1:
            strStatus = @"等待确认";
            break;
        case 2:
            strStatus = @"交易完成";
            break;
        case 3:
            strStatus = @"撤销交易";
            break;
        default:
            break;
    }
    return strStatus;
}

@end
